package com.crm.dao.mapper.opportunityManager;

import com.crm.model.entity.opportunityManager.OpportunityProduct;
import com.crm.model.entity.opportunityManager.OpportunityProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OpportunityProductMapper {
    long countByExample(OpportunityProductExample example);

    int deleteByExample(OpportunityProductExample example);

    int deleteByPrimaryKey(String opportunityProductId);

    int insert(OpportunityProduct record);

    int insertSelective(OpportunityProduct record);

    List<OpportunityProduct> selectByExample(OpportunityProductExample example);

    OpportunityProduct selectByPrimaryKey(String opportunityProductId);

    int updateByExampleSelective(@Param("record") OpportunityProduct record, @Param("example") OpportunityProductExample example);

    int updateByExample(@Param("record") OpportunityProduct record, @Param("example") OpportunityProductExample example);

    int updateByPrimaryKeySelective(OpportunityProduct record);

    int updateByPrimaryKey(OpportunityProduct record);
}